<template>
	<div class="image" :style="{backgroundImage:`url(${src})`}"></div>
</template>

<script>
    export default {
        name: "ImageView",
        props: {
            src: String
        },
        setup(props) {
            return {
                ...props
            }
        }
    }
</script>
<style>
	.image{
		height: 100%;
		background-size: cover;
		background-position:center;
		background-repeat:no-repeat;
	}
</style>
